$OpenBSD: patch-components_storage_monitor_BUILD_gn,v 1.3 2016/12/10 15:35:25 robert Exp $
--- components/storage_monitor/BUILD.gn.orig.port	Fri Dec  2 00:02:12 2016
+++ components/storage_monitor/BUILD.gn	Sat Dec  3 14:31:46 2016
@@ -23,10 +23,10 @@ static_library("storage_monitor") {
     "storage_info.h",
     "storage_monitor.cc",
     "storage_monitor.h",
-    "storage_monitor_chromeos.cc",
-    "storage_monitor_chromeos.h",
     "storage_monitor_linux.cc",
     "storage_monitor_linux.h",
+    "storage_monitor_chromeos.cc",
+    "storage_monitor_chromeos.h",
     "storage_monitor_mac.h",
     "storage_monitor_mac.mm",
     "storage_monitor_win.cc",
@@ -50,6 +50,17 @@ static_library("storage_monitor") {
       "DiskArbitration.framework",
       "Foundation.framework",
       "ImageCaptureCore.framework",
+    ]
+  }
+
+  if (is_openbsd) {
+    sources -= [
+      "mtab_watcher_linux.cc",
+      "mtab_watcher_linux.h"
+    ]
+    sources += [
+      "storage_monitor_openbsd.cc",
+      "storage_monitor_openbsd.h"
     ]
   }
 
